/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Pagination;

import java.util.List;

/**
 *
 * @author tejinder
 */
public interface Page {

          boolean isFirstPage();

	  boolean isLastPage();

	  boolean getHasNextPage();

	  boolean getHasPreviousPage();

	  int getLastPageNumber();

	  List getThisPageElements();

	  int getTotalNumberOfElements();

	  int getThisPageFirstElementNumber();

	  int getThisPageLastElementNumber();

	  int getNextPageNumber();

	  int getPreviousPageNumber();

	  int getPageSize();

	  int getPageNo();
}
